package com.cssw.fyzb.core.dao.system;

import com.cssw.fyzb.core.model.dodb.User;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.util.List;
import java.util.Map;

/**
 * @Auther: zzf
 * @Date: 2020/12/2 15:23
 * @Description:
 */
public interface SysUserDao {

    Page<User> list(int page, int limit, Map param);

    User getDetails(String userId);

    /**
     * 更新状态
     *
     * @param offerId
     * @param status
     */
    void updateStatus(Long offerId, String status);

    /**
     * 用户关系
     *
     * @return
     * @Date 2020/12/3 10:24
     * @Param
     **/
    List<User> userRelationship(String userId, String relationship);

    /**
     * 查团队用户
     *
     * @return
     * @Date 2020/12/3 11:47
     * @Param
     **/
    List<User> userTeam(String teamId);

}
